package com.fearless.demo01;


import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

import java.util.Date;
@Component
@Aspect
public class MyAspect {


    @Before(value ="execution(* com.fearless.demo01.impl.*.*(..))")
    public void myBefore(){
        System.out.println(new Date());


    }
}
